<script setup lang="ts">
import { seoConfig } from '~/config/seo'

useSeoMeta({
  title: seoConfig.products.fiveGSms.title,
  description: seoConfig.products.fiveGSms.description,
  keywords: seoConfig.products.fiveGSms.keywords
})

// 产品优势数据
const advantages = [
  {
    icon: 'lucide:sparkles',
    title: '全新升级',
    description: '传统短信的革新升级，融合5G技术，开启消息新时代'
  },
  {
    icon: 'lucide:message-square',
    title: 'AI会话式',
    description: '支持智能对话交互，打造类似APP的沉浸式体验'
  },
  {
    icon: 'lucide:layout-grid',
    title: '富媒体呈现',
    description: '支持图文、语音、视频、地理位置、卡片等多种形式'
  },
  {
    icon: 'lucide:mouse-pointer-click',
    title: '可交互',
    description: '支持按钮点击、表单填写、快捷回复等多种交互方式'
  },
  {
    icon: 'lucide:trending-up',
    title: '流量新入口',
    description: '无需下载APP，直接触达用户，降低获客成本'
  },
  {
    icon: 'lucide:users-round',
    title: '重构交互',
    description: '多层级多形式交互，提升企业与用户的连接效率'
  }
]

// 行业应用场景数据
const scenarios = [
  {
    icon: 'lucide:shopping-cart',
    title: '电商零售',
    description: '商品推荐、订单查询、物流跟踪、优惠券领取、一键购买',
    color: 'from-blue-500 to-cyan-500'
  },
  {
    icon: 'lucide:landmark',
    title: '金融服务',
    description: '账户查询、转账汇款、理财推荐、信用卡申请、智能客服',
    color: 'from-purple-500 to-pink-500'
  },
  {
    icon: 'lucide:ticket',
    title: '票务预订',
    description: '电影选座、演出购票、航班预订、酒店预订、门票购买',
    color: 'from-green-500 to-emerald-500'
  },
  {
    icon: 'lucide:smartphone',
    title: '运营商服务',
    description: '套餐查询、余额查询、流量充值、业务办理、客服咨询',
    color: 'from-orange-500 to-red-500'
  },
  {
    icon: 'lucide:map-pin',
    title: '生活服务',
    description: '外卖订餐、打车叫车、家政预约、快递查询、缴费服务',
    color: 'from-indigo-500 to-blue-500'
  },
  {
    icon: 'lucide:building',
    title: '政企服务',
    description: '政务查询、证件办理、公告通知、预约服务、在线咨询',
    color: 'from-yellow-500 to-orange-500'
  }
]
</script>

<template>
  <div class="min-h-screen">
    <!-- 顶部横幅 -->
    <ProductHero
      title="5G短信"
      description="5G消息是传统短信全新的升级革新，通过AI会话式的富媒体信息呈现（图文、语音、地理位置、卡片等），为企业和用户打造流量新入口，它将重构企业与用户之间的多层级/多形式交互"
    />

    <!-- 产品优势 -->
    <section class="py-16 md:py-24 bg-gray-50">
      <div class="mx-auto px-4 max-w-6xl">
        <div class="text-center mb-16">
          <h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
            产品优势
          </h2>
          <p class="text-lg text-gray-600">
            下一代消息服务，引领沟通新体验
          </p>
        </div>

        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8">
          <div
            v-for="(advantage, index) in advantages"
            :key="index"
            class="bg-white rounded-2xl p-6 md:p-8 shadow-sm hover:shadow-lg transition-all group"
          >
            <div class="w-14 h-14 bg-gradient-to-br from-blue-500 to-cyan-500 rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
              <Icon :name="advantage.icon" class="w-7 h-7 text-white" />
            </div>
            <h3 class="text-xl font-bold text-gray-900 mb-3">
              {{ advantage.title }}
            </h3>
            <p class="text-gray-600 leading-relaxed">
              {{ advantage.description }}
            </p>
          </div>
        </div>
      </div>
    </section>

    <!-- 行业应用场景 -->
    <section class="py-10 md:py-15 bg-white">
      <div class="mx-auto px-4 max-w-6xl">
        <div class="text-center mb-8 md:mb-10">
          <h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
            行业应用场景
          </h2>
          <p class="text-lg text-gray-600">
            广泛应用于各行各业，开启智能交互新模式
          </p>
        </div>

        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8">
          <div
            v-for="(scenario, index) in scenarios"
            :key="index"
            class="group relative bg-white rounded-2xl p-6 md:p-8 border-2 border-gray-100 hover:border-transparent hover:shadow-xl transition-all overflow-hidden"
          >
            <!-- 悬停时的渐变背景 -->
            <div 
              class="absolute inset-0 bg-gradient-to-br opacity-0 group-hover:opacity-10 transition-opacity"
              :class="scenario.color"
            />
            
            <div class="relative">
              <div 
                class="w-14 h-14 rounded-xl flex items-center justify-center mb-6 bg-gradient-to-br"
                :class="scenario.color"
              >
                <Icon :name="scenario.icon" class="w-7 h-7 text-white" />
              </div>
              <h3 class="text-xl font-bold text-gray-900 mb-3">
                {{ scenario.title }}
              </h3>
              <p class="text-gray-600 leading-relaxed">
                {{ scenario.description }}
              </p>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- CTA 部分 -->
    <CallToAction />
  </div>
</template>

